// 继承接口的对象必须要拥有接口中的所有必须数据，不然会报错
var customer = {
    firstName: "Tom",
    lastName: "Hanks",
    sayHi: function () { return "Hi there"; }
};
console.log(customer.sayHi());
